The Scaling Table ('stab') Resource
You need to include a scaling table resource when you include a scale action-item type in your dialog control ('dctl'
) resource, which is described in the previous section. The values in the scaling table resource define the discrete page-size reduction values that a user can select for a Macintosh Printing Manager application.Figure 6-19 shows the structure of the scaling table resource.
Figure 6-19 The scaling table resource
The scaling table resource contains a count of the scaling value entries and an array of values.
- Count. The number of scaling values that follow.
- Value array. An array of scaling values. Each of these integers defines a discrete scaling value that the user can select when clicking on the up and down arrows for the scaling item in the dialog box.
- Note
- The user can directly enter any scaling value into the scaling item box. The values in the scaling table are only used when the user clicks on the up and down arrows.
![]()
- IMPORTANT
- The values in the scaling table resource must be in ascending order.
![]()
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help